package com.ruoyi.shop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品月份对象 month_inventory
 * 
 * @author ruoyi
 * @date 2024-06-12
 */
public class MonthInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Long balance;
    private Long profit;
    private Long monthQuantity;
    private Long lastQuantity;
    private Long purchaseQuantity;
    private Long sellQuantity;
    private String foodName;
    /** 盘点ID */
    private Long id;
    @Excel(name = "盘点年份")
    private Long year;
    /** 盘点月份 */
    @Excel(name = "盘点月份")
    private Long month;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long fid;

    /** 盘点实际数量 */
    @Excel(name = "盘点实际数量")
    private Long actualQuantity;

    /** 盘点备注信息 */
    @Excel(name = "盘点备注信息")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMonth(Long month) 
    {
        this.month = month;
    }

    public Long getMonth() 
    {
        return month;
    }
    public void setFid(Long fid) 
    {
        this.fid = fid;
    }

    public Long getFid() 
    {
        return fid;
    }
    public void setActualQuantity(Long actualQuantity) 
    {
        this.actualQuantity = actualQuantity;
    }

    public Long getActualQuantity() 
    {
        return actualQuantity;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("month", getMonth())
            .append("fid", getFid())
            .append("actualQuantity", getActualQuantity())
            .append("remarks", getRemarks())
            .toString();
    }

    public Long getPurchaseQuantity() {
        return purchaseQuantity;
    }

    public void setPurchaseQuantity(Long purchaseQuantity) {
        this.purchaseQuantity = purchaseQuantity;
    }

    public Long getSellQuantity() {
        return sellQuantity;
    }

    public void setSellQuantity(Long sellQuantity) {
        this.sellQuantity = sellQuantity;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public Long getYear() {
        return year;
    }

    public void setYear(Long year) {
        this.year = year;
    }

    public Long getLastQuantity() {
        return lastQuantity;
    }

    public void setLastQuantity(Long lastQuantity) {
        this.lastQuantity = lastQuantity;
    }

    public Long getMonthQuantity() {
        return monthQuantity;
    }

    public void setMonthQuantity(Long monthQuantity) {
        this.monthQuantity = monthQuantity;
    }

    public Long getBalance() {
        return balance;
    }

    public void setBalance(Long balance) {
        this.balance = balance;
    }

    public Long getProfit() {
        return profit;
    }

    public void setProfit(Long profit) {
        this.profit = profit;
    }
}
